package transfer

import (
	"data-transfer/domain"
	"data-transfer/global"
	"go.uber.org/zap"
)
import "log"

//printLatestIndicator 打印最新指标信息
func printLatestIndicator(l []*domain.LATEST_INDICATOR) {
	for _, v := range l {
		global.LOG.Info("*************最新指标****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Basiceps:", zap.String("Basiceps", v.Basiceps))
		global.LOG.Info("Epsbasicepscut:", zap.String("Epsbasicepscut", v.Epsbasicepscut))
		global.LOG.Info("Naps:", zap.String("Naps", v.Naps))
		global.LOG.Info("Opercfps:", zap.String("Opercfps", v.Opercfps))
		global.LOG.Info("Roe:", zap.String("Roe", v.Roe))
		global.LOG.Info("Sgpmargin:", zap.String("Sgpmargin", v.Sgpmargin))
		global.LOG.Info("Bizinco:", zap.String("Bizinco", v.Bizinco))
		global.LOG.Info("Operinyoyb:", zap.String("Operinyoyb", v.Operinyoyb))
		global.LOG.Info("Netprofit:", zap.String("Netprofit", v.Netprofit))
		global.LOG.Info("Netinpnrplyoyb:", zap.String("Netinpnrplyoyb", v.Netinpnrplyoyb))
		global.LOG.Info("Npcut:", zap.String("Npcut", v.Npcut))
		global.LOG.Info("Npgrt:", zap.String("Npgrt", v.Npgrt))
		global.LOG.Info("Totalshare:", zap.String("Totalshare", v.Totalshare))
		global.LOG.Info("*************最新指标****************")
	}
}

// printTenHolder 打印十大股东信息
func printTenHolder(l []*domain.TEN_HOLDER) {
	for _, v := range l {
		global.LOG.Info("*************十大股东****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Shholdername:", zap.String("Shholdername", v.Shholdername))
		global.LOG.Info("Holderamt:", zap.String("Holderamt", v.Holderamt))
		global.LOG.Info("Holderrto:", zap.String("Holderrto", v.Holderrto))
		global.LOG.Info("Holdcircskamtrto:", zap.String("Holdcircskamtrto", v.Holdcircskamtrto))
		global.LOG.Info("Curchg:", zap.String("Curchg", v.Curchg))
		global.LOG.Info("Shholdercode:", zap.String("Shholdercode", v.Shholdercode))
		global.LOG.Info("Publishdate:", zap.String("Publishdate", v.Publishdate))
		global.LOG.Info("Curchgrate:", zap.String("Curchgrate", v.Curchgrate))
		global.LOG.Info("*************十大股东****************")
	}
}

//printTenCirculatingSharesHolder 打印十大流通股股东信息
func printTenCirculatingSharesHolder(l []*domain.TEN_CIRCULATING_SHARES_HOLDER) {
	for _, v := range l {
		global.LOG.Info("*************十大流通股东****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Shholdername:", zap.String("Shholdername", v.Shholdername))
		global.LOG.Info("Holderamt:", zap.String("Holderamt", v.Holderamt))
		global.LOG.Info("Holdersumchgrate:", zap.String("Holdersumchgrate", v.Holdersumchgrate))
		global.LOG.Info("Holderrto:", zap.String("Holderrto", v.Holderrto))
		global.LOG.Info("Pctofflotshares:", zap.String("Pctofflotshares", v.Pctofflotshares))
		global.LOG.Info("Holdersumchg:", zap.String("Holdersumchg", v.Holdersumchg))
		global.LOG.Info("Shholdercode:", zap.String("Shholdercode", v.Shholdercode))
		global.LOG.Info("Publishdate:", zap.String("Publishdate", v.Publishdate))
		global.LOG.Info("*************十大流通股东****************")
	}
}

//printHolderChange 打印股东变动信息
func printHolderChange(l []*domain.HOLDER_CHANGE) {
	for _, v := range l {
		global.LOG.Info("*************股东变动情况****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Enddate:", zap.String("Enddate", v.Enddate))
		global.LOG.Info("Tclose:", zap.String("Tclose", v.Tclose))
		global.LOG.Info("Totalshamt:", zap.String("Totalshamt", v.Totalshamt))
		global.LOG.Info("Totalshchgrto:", zap.String("Totalshchgrto", v.Totalshchgrto))
		global.LOG.Info("Kavgsh:", zap.String("Kavgsh", v.Kavgsh))
		global.LOG.Info("Kavgholdamt:", zap.String("Kavgholdamt", v.Kavgholdamt))
		global.LOG.Info("*************股东变动情况****************")
	}
}

//printEquityStruChgs 打印股本变动数据
func printEquityStruChgs(l []*domain.EQUITY_STRUCTURE_CHANGE) {
	for _, v := range l {
		global.LOG.Info("*************股东变动情况****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Shchgrsn:", zap.String("Shchgrsn", v.Shchgrsn))
		global.LOG.Info("Totalshare:", zap.String("Totalshare", v.Totalshare))
		global.LOG.Info("Totalsharechg:", zap.String("Totalsharechg", v.Totalsharechg))
		global.LOG.Info("Skchgexp:", zap.String("Skchgexp", v.Skchgexp))
		global.LOG.Info("Exrightdate:", zap.String("Exrightdate", v.Exrightdate))
		global.LOG.Info("*************股东变动情况****************")
	}
}

//printMainComposition 打印公司主要业务信息
func printMainComposition(l []*domain.MAIN_COMPOSITION) {
	for _, v := range l {
		global.LOG.Info("*************公司主要业务****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Productinfo:", zap.String("Productinfo", v.Productinfo))
		global.LOG.Info("Biztotcost:", zap.String("Biztotcost", v.Biztotcost))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Perprofit:", zap.String("Perprofit", v.Perprofit))
		global.LOG.Info("*************公司主要业务****************")
	}
}

//printBlockTrading 打印大宗交易信息
func printBlockTrading(l []*domain.BLOCK_TRADING) {
	for _, v := range l {
		global.LOG.Info("*************大宗交易初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Tradedate:", zap.String("Tradedate", v.Tradedate))
		global.LOG.Info("Tradeprice:", zap.String("Tradeprice", v.Tradeprice))
		global.LOG.Info("Volume:", zap.String("Volume", v.Volume))
		global.LOG.Info("Amount:", zap.String("Amount", v.Amount))
		global.LOG.Info("Buyername:", zap.String("Buyername", v.Buyername))
		global.LOG.Info("Sellername:", zap.String("Sellername", v.Sellername))
		global.LOG.Info("Rate:", zap.String("Rate", v.Rate))
		global.LOG.Info("*************大宗交易初始化****************")
	}
}

//printBonusFinancing 打印分红融资信息
func printBonusFinancing(l []*domain.BONUS_FINANCING) {
	for _, v := range l {
		global.LOG.Info("*************分红融资初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Recorddate:", zap.String("Recorddate", v.Recorddate))
		global.LOG.Info("Exrightdate:", zap.String("Exrightdate", v.Exrightdate))
		global.LOG.Info("Divibegdate:", zap.String("Divibegdate", v.Divibegdate))
		global.LOG.Info("Taxcdividend:", zap.String("Taxcdividend", v.Taxcdividend))
		global.LOG.Info("Bonusimpdate:", zap.String("Bonusimpdate", v.Bonusimpdate))
		global.LOG.Info("Capstkbasdate:", zap.String("Capstkbasdate", v.Capstkbasdate))
		global.LOG.Info("Diviimpmarkd:", zap.Int("Diviimpmarkd", v.Diviimpmarkd))
		global.LOG.Info("Bonusyear:", zap.String("Bonusyear", v.Bonusyear))
		global.LOG.Info("Dividtype:", zap.String("Dividtype", v.Dividtype))
		global.LOG.Info("Divitype:", zap.String("Divitype", v.Divitype))
		global.LOG.Info("*************分红融资初始化****************")
	}
}

//printRankList 打印龙虎榜信息
func printRankList(l []*domain.RANK_LIST) {
	for _, v := range l {
		global.LOG.Info("*************龙虎榜初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Tradedate:", zap.String("Tradedate", v.Tradedate))
		global.LOG.Info("Bizsunitname:", zap.String("Bizsunitname", v.Bizsunitname))
		global.LOG.Info("Amount:", zap.String("Amount", v.Amount))
		global.LOG.Info("Buyamt:", zap.String("Buyamt", v.Buyamt))
		global.LOG.Info("Saleamt:", zap.String("Saleamt", v.Saleamt))
		global.LOG.Info("*************龙虎榜初始化****************")
	}
}

//printEquityStructure 打印股本结构
func printEquityStructure(l []*domain.EQUITY_STRUCTURE) {
	for _, v := range l {
		global.LOG.Info("*************股本结构初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Totalshare:", zap.String("Totalshare", v.Totalshare))
		global.LOG.Info("Circskamt:", zap.String("Circskamt", v.Circskamt))
		global.LOG.Info("Circskrto:", zap.String("Circskrto", v.Circskrto))
		global.LOG.Info("Circskamtnolim:", zap.String("Circskamtnolim", v.Circskamtnolim))
		global.LOG.Info("Circskrtonolim:", zap.String("Circskrtonolim", v.Circskrtonolim))
		global.LOG.Info("Circhamt:", zap.String("Circhamt", v.Circhamt))
		global.LOG.Info("Hsharerto:", zap.String("Hsharerto", v.Hsharerto))
		global.LOG.Info("Ncircamt:", zap.String("Ncircamt", v.Ncircamt))
		global.LOG.Info("Nonnegskrto:", zap.String("Nonnegskrto", v.Nonnegskrto))
		global.LOG.Info("Circaamt:", zap.String("Circaamt", v.Circaamt))
		global.LOG.Info("Asharerto:", zap.String("Asharerto", v.Asharerto))
		global.LOG.Info("Circbamt:", zap.String("Circbamt", v.Circbamt))
		global.LOG.Info("Bsharerto:", zap.String("Bsharerto", v.Bsharerto))
		global.LOG.Info("Ncircamt1:", zap.String("Ncircamt1", v.Ncircamt1))
		global.LOG.Info("Nonnegskrto1:", zap.String("Nonnegskrto1", v.Nonnegskrto1))
		global.LOG.Info("*************股本结构初始化****************")

	}
}

// printRatingCount 打印评级机构统计
func printRatingCount(l []*domain.RATING_COUNT) {
	for _, v := range l {
		global.LOG.Info("*************评级机构统计初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Stdrating:", zap.String("Stdrating", v.Stdrating))
		global.LOG.Info("Ratingvalid:", zap.String("Ratingvalid", v.Ratingvalid))
		global.LOG.Info("买入Buy:", zap.Int("Buy", v.Buy))
		global.LOG.Info("增持Enlarge:", zap.Int("Buy", v.Enlarge))
		global.LOG.Info("中性Neutral:", zap.Int("Neutral", v.Neutral))
		global.LOG.Info("减持Reduce:", zap.Int("Reduce", v.Reduce))
		global.LOG.Info("卖出Sell:", zap.Int("Sell", v.Sell))
		global.LOG.Info("*************评级机构统计初始化****************")

	}
}

// printRating 打印评级机构
func printRating(l []*domain.RATING) {
	for _, v := range l {
		global.LOG.Info("*************评级机构初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Ratingvalid:", zap.String("Ratingvalid", v.Ratingvalid))
		global.LOG.Info("Reportdate:", zap.String("Reportdate", v.Reportdate))
		global.LOG.Info("Compname:", zap.String("Compname", v.Compname))
		global.LOG.Info("Rating:", zap.String("Rating", v.Rating))
		global.LOG.Info("Lastrating:", zap.String("Lastrating", v.Lastrating))

		global.LOG.Info("Radjustdir:", zap.String("Radjustdir", v.Radjustdir))
		global.LOG.Info("Skcode:", zap.String("Skcode", v.Skcode))
		global.LOG.Info("Analystname:", zap.String("Sell", v.Analystname))
		global.LOG.Info("*************评级机构初始化****************")

	}

}

//[]*domain.DIVIDEND
func printDividend(l []*domain.DIVIDEND) {
	for _, v := range l {
		global.LOG.Info("*************资料-分红派送初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Bonusimpdate:", zap.String("Bonusimpdate", v.Bonusimpdate))
		global.LOG.Info("Exrightdate:", zap.String("Exrightdate", v.Exrightdate))
		global.LOG.Info("Cdividend:", zap.String("Cdividend", v.Cdividend))
		global.LOG.Info("Bonusyear:", zap.String("Bonusyear", v.Bonusyear))
		global.LOG.Info("Dividtype:", zap.String("Dividtype", v.Dividtype))
		global.LOG.Info("Divitype:", zap.String("Divitype", v.Divitype))
		global.LOG.Info("*************资料-分红派送初始化****************")
	}
}

//printMargins 打印融资融券
func printMargins(l []*domain.MARGIN) {
	for _, v := range l {
		global.LOG.Info("*************资料-现金流量初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Mrgnsellamt:", zap.String("Mrgnsellamt", v.Mrgnsellamt))
		global.LOG.Info("Mrgnresqty:", zap.String("Mrgnresqty", v.Mrgnresqty))
		global.LOG.Info("Mrggbal:", zap.String("Mrggbal", v.Mrggbal))
		global.LOG.Info("Tradedate:", zap.String("Tradedate", v.Tradedate))
		global.LOG.Info("Finbuyamt:", zap.String("Finbuyamt", v.Finbuyamt))
		global.LOG.Info("Finbalance:", zap.String("Finbalance", v.Finbalance))
		global.LOG.Info("*************资料-现金流量初始化****************")
	}
}

//printCashFlows 打印现金流新
func printCashFlows(l []*domain.CASH_FLOW) {
	for _, v := range l {
		global.LOG.Info("*************财务数据-现金流量初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Bizcashinfl:", zap.String("Bizcashinfl", v.Bizcashinfl))
		global.LOG.Info("Bizcashoutf:", zap.String("Bizcashoutf", v.Bizcashoutf))
		global.LOG.Info("Mananetr:", zap.String("Mananetr", v.Mananetr))
		global.LOG.Info("Invcashinfl:", zap.String("Invcashinfl", v.Invcashinfl))
		global.LOG.Info("Invcashoutf:", zap.String("Invcashoutf", v.Invcashoutf))
		global.LOG.Info("Invnetcashflow:", zap.String("Invnetcashflow", v.Invnetcashflow))
		global.LOG.Info("Fincashinfl:", zap.String("Fincashinfl", v.Fincashinfl))
		global.LOG.Info("Fincashoutf:", zap.String("Fincashoutf", v.Fincashoutf))
		global.LOG.Info("Finnetcflow:", zap.String("Finnetcflow", v.Finnetcflow))
		global.LOG.Info("Cashnetr:", zap.String("Cashnetr", v.Cashnetr))
		global.LOG.Info("*************财务数据-现金流量初始化****************")
	}
}

//printCashFlows 打印现金流新
func printCashFlowsSq(l []*domain.CASH_FLOW_SQ) {
	for _, v := range l {
		global.LOG.Info("*************财务数据-单季度现金流量初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Bizcashinfl:", zap.String("Bizcashinfl", v.Bizcashinfl))
		global.LOG.Info("Bizcashoutf:", zap.String("Bizcashoutf", v.Bizcashoutf))
		global.LOG.Info("Mananetr:", zap.String("Mananetr", v.Mananetr))
		global.LOG.Info("Invcashinfl:", zap.String("Invcashinfl", v.Invcashinfl))
		global.LOG.Info("Invcashoutf:", zap.String("Invcashoutf", v.Invcashoutf))
		global.LOG.Info("Invnetcashflow:", zap.String("Invnetcashflow", v.Invnetcashflow))
		global.LOG.Info("Fincashinfl:", zap.String("Fincashinfl", v.Fincashinfl))
		global.LOG.Info("Fincashoutf:", zap.String("Fincashoutf", v.Fincashoutf))
		global.LOG.Info("Finnetcflow:", zap.String("Finnetcflow", v.Finnetcflow))
		global.LOG.Info("Cashnetr:", zap.String("Cashnetr", v.Cashnetr))
		global.LOG.Info("*************财务数据-单季度现金流量初始化****************")
	}
}

// printIncomesInfo 打印企业利润信息
func printIncomesInfo(l []*domain.INCOME_STATEMENT) {
	for _, v := range l {
		global.LOG.Info("*************财务数据-企业利润初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Biztotinco:", zap.String("Biztotinco", v.Biztotinco))
		global.LOG.Info("Biztotcost:", zap.String("Biztotcost", v.Biztotcost))
		global.LOG.Info("Manaexpe:", zap.String("Manaexpe", v.Manaexpe))
		global.LOG.Info("Salesexpe:", zap.String("Salesexpe", v.Salesexpe))
		global.LOG.Info("Finexpe:", zap.String("Finexpe", v.Finexpe))
		global.LOG.Info("Perprofit:", zap.String("Perprofit", v.Perprofit))
		global.LOG.Info("Inveinco:", zap.String("Inveinco", v.Inveinco))
		global.LOG.Info("Nonoreve:", zap.String("Nonoreve", v.Nonoreve))
		global.LOG.Info("Nonoexpe:", zap.String("Nonoexpe", v.Nonoexpe))
		global.LOG.Info("Totprofit:", zap.String("Totprofit", v.Totprofit))
		global.LOG.Info("Netprofit:", zap.String("Netprofit", v.Netprofit))
		global.LOG.Info("*************财务数据-企业利润初始化****************")
	}
}

// printIncomesSqInfo 打印企业利润单季度信息
func printIncomesSqInfo(l []*domain.INCOME_STATEMENT_SQ) {
	for _, v := range l {
		global.LOG.Info("************财务数据-企业利润(单季度)初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Biztotinco:", zap.String("Biztotinco", v.Biztotinco))
		global.LOG.Info("Biztotcost:", zap.String("Biztotcost", v.Biztotcost))
		global.LOG.Info("Manaexpe:", zap.String("Manaexpe", v.Manaexpe))
		global.LOG.Info("Salesexpe:", zap.String("Salesexpe", v.Salesexpe))
		global.LOG.Info("Finexpe:", zap.String("Finexpe", v.Finexpe))
		global.LOG.Info("Perprofit:", zap.String("Perprofit", v.Perprofit))
		global.LOG.Info("Inveinco:", zap.String("Inveinco", v.Inveinco))
		global.LOG.Info("Nonoreve:", zap.String("Nonoreve", v.Nonoreve))
		global.LOG.Info("Nonoexpe:", zap.String("Nonoexpe", v.Nonoexpe))
		global.LOG.Info("Totprofit:", zap.String("Totprofit", v.Totprofit))
		global.LOG.Info("Netprofit:", zap.String("Netprofit", v.Netprofit))
		global.LOG.Info("************财务数据-企业利润(单季度)初始化****************")
	}
}

//printDailyPriceInfo 打印股票涨跌情况等数据
func printDailyPriceInfo(l []*domain.SK_INFO_CHANGE) {
	for _, v := range l {
		global.LOG.Info("************股票历史日交易-涨跌情况数据初始化****************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Sename:", zap.String("Sename", v.Sename))
		global.LOG.Info("Change:", zap.String("Change", v.Change))
		global.LOG.Info("Pchg:", zap.String("Pchg", v.Pchg))
		log.Printf("*************股票历史日交易-涨跌情况数据初始化****************")

	}
}

//printIndicatorInfo 打印主要指标信息
func printIndicatorInfo(l []*domain.KEY_INDICATOR) {
	for _, v := range l {
		global.LOG.Info("************财务数据-主要指标初始化***************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Opprort:", zap.String("Opprort", v.Opprort))
		global.LOG.Info("Currentrt:", zap.String("Currentrt", v.Currentrt))
		global.LOG.Info("Quickrt:", zap.String("Quickrt", v.Quickrt))
		global.LOG.Info("Crps:", zap.String("Crps", v.Crps))
		global.LOG.Info("Upps:", zap.String("Upps", v.Upps))
		global.LOG.Info("Snpmarginconms:", zap.String("Snpmarginconms", v.Snpmarginconms))
		global.LOG.Info("Opncfps:", zap.String("Opncfps", v.Opncfps))
		global.LOG.Info("Naps:", zap.String("Naps", v.Naps))
		global.LOG.Info("Profitratio:", zap.String("Profitratio", v.Profitratio))
		global.LOG.Info("Roeweighted:", zap.String("Roeweighted", v.Roeweighted))
		global.LOG.Info("Roediluted:", zap.String("Roediluted", v.Roediluted))
		global.LOG.Info("Epsbasic:", zap.String("Epsbasic", v.Epsbasic))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("************财务数据-主要指标初始化***************")

	}
}

//printIndicatorInfo 打印主要指标信息
func printIndicatorInfoSq(l []*domain.KEY_INDICATOR_SQ) {
	for _, v := range l {
		global.LOG.Info("************财务数据-主要指标初始化（单季度）***************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Opprort:", zap.String("Opprort", v.Opprort))
		global.LOG.Info("Currentrt:", zap.String("Currentrt", v.Currentrt))
		global.LOG.Info("Quickrt:", zap.String("Quickrt", v.Quickrt))
		global.LOG.Info("Crps:", zap.String("Crps", v.Crps))
		global.LOG.Info("Upps:", zap.String("Upps", v.Upps))
		global.LOG.Info("Snpmarginconms:", zap.String("Snpmarginconms", v.Snpmarginconms))
		global.LOG.Info("Opncfps:", zap.String("Opncfps", v.Opncfps))
		global.LOG.Info("Naps:", zap.String("Naps", v.Naps))
		global.LOG.Info("Profitratio:", zap.String("Profitratio", v.Profitratio))
		global.LOG.Info("Roeweighted:", zap.String("Roeweighted", v.Roeweighted))
		global.LOG.Info("Roediluted:", zap.String("Roediluted", v.Roediluted))
		global.LOG.Info("Epsbasic:", zap.String("Epsbasic", v.Epsbasic))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("************财务数据-主要指标初始化（单季度）***************")

	}
}

// printBalanceSheetInfo 打印资产负债信息
func printBalanceSheetInfo(l []*domain.BALANCE_SHEET) {
	for _, v := range l {
		global.LOG.Info("************财务数据-资产负债初始化***************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Reportdatetype:", zap.String("Reportdatetype", v.Reportdatetype))
		global.LOG.Info("Reportyear:", zap.String("Reportyear", v.Reportyear))
		global.LOG.Info("Totcurrasset:", zap.String("Totcurrasset", v.Totcurrasset))
		global.LOG.Info("Curfds:", zap.String("Curfds", v.Curfds))
		global.LOG.Info("Tradfinasset:", zap.String("Tradfinasset", v.Tradfinasset))
		global.LOG.Info("Inve:", zap.String("Inve", v.Inve))
		global.LOG.Info("Accorece:", zap.String("Accorece", v.Accorece))
		global.LOG.Info("Otherrecetot:", zap.String("Otherrecetot", v.Otherrecetot))
		global.LOG.Info("Totalnoncassets:", zap.String("Totalnoncassets", v.Totalnoncassets))
		global.LOG.Info("Fixedassenet:", zap.String("Fixedassenet", v.Fixedassenet))
		global.LOG.Info("Avaisellasse:", zap.String("Avaisellasse", v.Avaisellasse))
		global.LOG.Info("Intaasset:", zap.String("Intaasset", v.Intaasset))
		global.LOG.Info("Goodwill:", zap.String("Goodwill", v.Goodwill))
		global.LOG.Info("Totasset:", zap.String("Totasset", v.Totasset))
		global.LOG.Info("Totalcurrliab:", zap.String("Totalcurrliab", v.Totalcurrliab))
		global.LOG.Info("Advapaym:", zap.String("Advapaym", v.Advapaym))
		global.LOG.Info("Accopaya:", zap.String("Accopaya", v.Accopaya))
		global.LOG.Info("Totalnoncliab:", zap.String("Totalnoncliab", v.Totalnoncliab))
		global.LOG.Info("Totliab:", zap.String("Totliab", v.Totliab))
		global.LOG.Info("Paresharrigh:", zap.String("Paresharrigh", v.Paresharrigh))
		global.LOG.Info("Capisurp:", zap.String("Capisurp", v.Capisurp))
		global.LOG.Info("Shorttermborr:", zap.String("Shorttermborr", v.Shorttermborr))
		global.LOG.Info("************财务数据-资产负债初始化***************")
	}
}

// printProfitForcast 打印盈利预测
func printProfitForcast(l []*domain.PROFIT_FORECAST) {
	for _, v := range l {
		global.LOG.Info("************资料-盈利预测***************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Retamaxprofits:", zap.String("Retamaxprofits", v.Retamaxprofits))
		global.LOG.Info("Opermincome:", zap.String("Opermincome", v.Opermincome))
		global.LOG.Info("Epsmaxfore:", zap.String("Epsmaxfore", v.Epsmaxfore))
		global.LOG.Info("Exptyear:", zap.String("Exptyear", v.Exptyear))
		global.LOG.Info("************资料-盈利预测***************")

	}
}

//printExecutive 公司高管信息
func printExecutive(l []*domain.COMPANY_EXECUTIVES) {
	for _, v := range l {
		global.LOG.Info("************资料-公司高管***************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Cname:", zap.String("Cname", v.Cname))
		global.LOG.Info("Actdutyname:", zap.String("Actdutyname", v.Actdutyname))
		global.LOG.Info("Begindate:", zap.String("Begindate", v.Begindate))
		global.LOG.Info("Gender:", zap.String("Gender", v.Gender))
		global.LOG.Info("Birthday:", zap.String("Birthday", v.Birthday))
		global.LOG.Info("Degree:", zap.String("Degree", v.Degree))
		global.LOG.Info("Memo:", zap.String("Memo", v.Memo))
		global.LOG.Info("************资料-公司高管***************")

	}
}

//printCompanyProfiles 打印公司基本情况
func printCompanyProfiles(l []*domain.COMPANY_PROFILE) {
	for _, v := range l {
		global.LOG.Info("************资料-公司基本情况***************")
		global.LOG.Info("Symbol:", zap.String("Symbol", v.Symbol))
		global.LOG.Info("Compcode:", zap.String("Compcode", v.Compcode))
		global.LOG.Info("Compname:", zap.String("Compname", v.Compname))
		global.LOG.Info("Regname:", zap.String("Regname", v.Regname))
		global.LOG.Info("Comptype:", zap.String("Comptype", v.Comptype))
		global.LOG.Info("Listdate:", zap.String("Listdate", v.Listdate))
		global.LOG.Info("Legrep:", zap.String("Legrep", v.Legrep))
		global.LOG.Info("Regcapital:", zap.String("Regcapital", v.Regcapital))
		global.LOG.Info("Regaddr:", zap.String("Regaddr", v.Regaddr))
		global.LOG.Info("Majorbiz:", zap.String("Majorbiz", v.Majorbiz))
		global.LOG.Info("Bizscope:", zap.String("Bizscope", v.Bizscope))
		global.LOG.Info("************资料-公司基本情况***************")

	}

}
